<?php 

if (isset($_COOKIE['selection'])) {
	$selection = $_COOKIE['selection'];
	$nbFilms = $selection[0];
	setcookie('selection[0]','0'); // expirera � la fermeture du navigateur (ou de l'onglet)
	
	for ($i = 1; $i <= $nbFilms; $i++){
		setcookie("selection[$i]","", time());
}
}





?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Panier</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div class="center">
<div class="wrap header">

<!--ENTETE-->
	<hr/>
        <h1>PANIER</h1>
	  <h2>Auteur: Nguyen Tat Son Tung </h2>
      <hr/>
<!--FIN D'ENTETE-->

</div>
<div class="wrap main">
<div class="wrap main_r">
<div class="wrap main_content_max" id="main_content">
<div class="content">
<table class="blog" cellpadding="0" cellspacing="0">
<tr><td valign="top"><div>
		
<table class="contentpaneopen"><tr>
<td class="contentheading" width="100%"><img src="images/shopping_cart.png">  PANIER </td></tr></table>
<table class="contentpaneopen"><tr><td valign="top" colspan="2">
<br /><br />

<div align="center"><h2> Le panier a &eacute;t&eacute; vid&eacute;</h2></div>
<br /><br />
</td></tr></table>

<span class="article_separator">&nbsp;</span>

</div></td></tr></table>
</div>
</div>


</body>
</html>